package com.houtai.bean.dto.company;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import org.hibernate.validator.constraints.Length;

import javax.validation.constraints.NotEmpty;
import javax.validation.constraints.NotNull;

@ApiModel(value="企业信息修改所需参数", description="企业信息修改所需参数")
public class TdCompanyUpdateDto {

    @NotNull(message = "园区id不能为空")
    @ApiModelProperty(value="园区id  0是其他", name="campus_id")
    private int campus_id;

    @NotNull(message = "企业LOGO不能为空")
    @ApiModelProperty(value="企业LOGO 此数据为文件类型", name="company_logo")
    private String company_logo;

    @NotEmpty(message = "公司标签不能为空")
    @Length(max = 50, message = "公司标签最多50个字符")
    @ApiModelProperty(value="公司标签 以,分割", name="company_label")
    private String company_label;

    @NotEmpty(message = "企业简介不能为空")
    @Length(max = 200, message = "企业简介最多200个字符")
    @ApiModelProperty(value="企业简介", name="company_intro")
    private String company_intro;

    @NotNull(message = "省id不能为空")
    @ApiModelProperty(value="省id", name="province_id")
    private int province_id;

    @NotNull(message = "市id不能为空")
    @ApiModelProperty(value="市id", name="city_id")
    private int city_id;

    @NotNull(message = "区id不能为空")
    @ApiModelProperty(value="区id", name="county_id")
    private int county_id;


    @NotEmpty(message = "联系人不能为空")
    @Length(max = 10, message = "联系人最多10个字符")
    @ApiModelProperty(value="联系人", name="contact")
    private String contact;

    @NotEmpty(message = "公司地址不能为空")
    @Length(max = 100, message = "公司地址最多100个字符")
    @ApiModelProperty(value="公司地址", name="contact_address")
    private String contact_address;



    public int getCampus_id() {
        return campus_id;
    }

    public void setCampus_id(int campus_id) {
        this.campus_id = campus_id;
    }


    public String getCompany_logo() {
        return company_logo;
    }

    public void setCompany_logo(String company_logo) {
        this.company_logo = company_logo;
    }

    public String getCompany_label() {
        return company_label;
    }

    public void setCompany_label(String company_label) {
        this.company_label = company_label;
    }

    public String getCompany_intro() {
        return company_intro;
    }

    public void setCompany_intro(String company_intro) {
        this.company_intro = company_intro;
    }

    public int getProvince_id() {
        return province_id;
    }

    public void setProvince_id(int province_id) {
        this.province_id = province_id;
    }

    public int getCity_id() {
        return city_id;
    }

    public void setCity_id(int city_id) {
        this.city_id = city_id;
    }

    public int getCounty_id() {
        return county_id;
    }

    public void setCounty_id(int county_id) {
        this.county_id = county_id;
    }

    public String getContact() {
        return contact;
    }

    public void setContact(String contact) {
        this.contact = contact;
    }

    public String getContact_address() {
        return contact_address;
    }

    public void setContact_address(String contact_address) {
        this.contact_address = contact_address;
    }


}
